<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<head>
    <meta charset="utf-8">
    <title>公共资料管理</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <link rel="stylesheet" href="/js/commons/layui/css/layui.css" media="all">
    <link rel="stylesheet" href="/js/commons/zTree_v3/css/zTreeStyle/zTreeStyle.css" type="text/css">
    <link rel="stylesheet" href="/css/commons/base.css" media="all">
    <style>
        .left{
            height: 100%;
            width: 350px;
            top: 0;
            left: 0;
            position: absolute;
        }
        .right{
            height: 100%;
            width: auto;
            top: 0;
            left: 360px;
            right: 0;
            position: absolute;
        }
        .main {
            height: 100%;
            width: 100%;
            position: absolute;
        }
        .footer {
            height: 50px;
            width: 100%;
            bottom: 30px;
            position: absolute;
        }
    </style>
</head>

<body>
    <div id="left" class="left">
        <div id="main" class="main">
            <ul id="tree" class="ztree"></ul>
        </div>
        <div id="footer" class="footer">
            <div class="layui-inline">
                <button type="button" class="layui-btn" id="addDirBtn">新增</button>
                <button type="button" class="layui-btn layui-btn-normal" id="editDirBtn">编辑</button>
                <button type="button" class="layui-btn layui-btn-danger" id="delDirBtn">删除</button>
                <button type="button" class="layui-btn  layui-btn-primary" id="upFileBtn">上传</button>
            </div>
        </div>
    </div>
    <div id="right" class="right">
        <input type="hidden" id="fileExts" name="fileExts" th:value="${fileExts}" />
        <input type="hidden" id="fileSize" name="fileSize" th:value="${fileSize}" />
        <form class="layui-form layui-form-pane">
            <input type="hidden" id="dirId" name="dirId" />
            <div class="layui-form-item">
                <div class="layui-inline">
                    <label class="layui-form-label">文件名</label>
                    <div class="layui-input-inline">
                        <input type="text" class="layui-input" id="search_file_name" name="search_file_name" autocomplete="off">
                    </div>
                </div>
                <div class="layui-inline">
                    <label class="layui-form-label">上传人</label>
                    <div class="layui-input-inline">
                        <input type="text" class="layui-input" id="search_create_name" name="search_create_name" autocomplete="off">
                    </div>
                </div>
                <div class="layui-inline">
                    <label class="layui-form-label">上传日期</label>
                    <div class="layui-input-inline">
                        <input type="text" class="layui-input" id="search_create_time" name="search_create_time" autocomplete="off">
                    </div>
                </div>
                <div class="layui-inline">
                    <button type="button" class="layui-btn" id="searchBtn">查询</button>
                    <button type="reset" class="layui-btn" id="resetBtn">重置</button>
                </div>
            </div>
        </form>

        <table class="layui-hide" id="dataTable" lay-filter="dataTable"></table>

        <script type="text/html" id="rightToolbar">
            <a class="layui-btn layui-btn-normal layui-btn-xs" lay-event="edit">编辑备注</a>
            <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del">删除</a>
            <a class="layui-btn layui-btn-xs" lay-event="down">下载</a>
        </script>
    </div>
</body>
</html>
<script charset="utf-8" src="/js/commons/layui/layui.all.js" ></script>
<script charset="utf-8" src="/js/commons/jquery.js"></script>
<script type="text/javascript" src="/js/commons/zTree_v3/js/jquery.ztree.all.min.js"></script>
<script src="/js/mng/reference/pub_list.js"></script>